php forum
php mysql forum
php mysql smarty
 
Page 1 of 4 1 2 3 4 >
Topic Options
#232559 - 01/10/03 04:05 PM [6.2] Table Wrappers Mod
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
What is it?: It's a mod that adds a graphic border to all the tables in UBB 6.2 <br /> <br />Is there a demo?: Da LAN Tech <br /> <br />What files are modified?: tbopen.tmpl, tbclose.tmpl, ubbthreads.tmpl, and 10 style sheets. <br /> <br />Who gets the props?: JustDave for making this mod possible by coming up with, and selling Info Pop on, the concept of table wrappers (and for making me curious enough to figure out how to modify them). JoshPet for the pointers on editting the ubbthreads.tmpl file (and for his numerous answers to my stupid questions <img src="/forum/images/graemlins/wink.gif" alt="" /> ) Omegatron for spotting my xml mistakes (attachment updated). <br /> <br />Just follow the instructions in the text file. FYI: I removed the binary pattern on the graphics for this set, with the exception of the daforum.css file <img src="/forum/images/graemlins/smile.gif" alt="" /> <br /> <br />For those of you with MacroMedia Fireworks version 4 I've included the png file I created for this graphic set. <br /> <br />If you don't like my graphics that's cool, just deconstruct my mod so you can figure out how to make your own <img src="/forum/images/graemlins/smile.gif" alt="" />


Attachments
64398-Table Wrappers.zip (89 downloads)



Edited by Dalantech (01/20/03 11:55 AM)
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232560 - 01/10/03 04:13 PM Re: Da Table Wrappers Mod [Re: jacksonm99]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Thank You! <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />I'm glad this is finally documented too.<br /><br />Nice job! <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232561 - 01/10/03 04:20 PM Re: Da Table Wrappers Mod [Re: sjsaunders]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Props to you my friend: You got me interested in this one <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />I figured that this would serve as documentation since it should be pretty easy for people to look at what I've done and modify it for their own needs.
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232562 - 01/10/03 04:31 PM Re: Da Table Wrappers Mod [Re: jacksonm99]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Yes I believe actual example files will be most helpful to others.<br /><br />The nice thing about this type of modification is that there shouldn't be any changes from .threads 6.2 and forward that affect it. (with the possible exception of new style classes being added to the .css files) <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232563 - 01/10/03 04:33 PM Re: Da Table Wrappers Mod [Re: sjsaunders]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
True. For future version the ubbthreads.tmpl file can be dropped since the only change to is was to remove the hard scripted tbclose and take out all the ASCII spaces.


Edited by Dalantech (01/10/03 04:35 PM)
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232564 - 01/10/03 11:25 PM Re: Da Table Wrappers Mod [Re: jacksonm99]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Excellent work! Thanks for putting this together. <img src="/forum/images/graemlins/cool.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232565 - 01/11/03 02:21 AM Re: Da Table Wrappers Mod [Re: Daine]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Thanks for all your help my friend! <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232566 - 01/11/03 11:24 AM Re: Da Table Wrappers Mod [Re: jacksonm99]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Now we just gotta document tablewrappers.tmpl in the pal directory for IIP
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#232567 - 01/11/03 12:25 PM Re: Da Table Wrappers Mod [Re: sf49rminer]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
I will make IIP use the same wrappers as .threads at some point. IIP's are more flexable because the table headers are less involved than some of the .threads table headers. I also figured out how to have more than one table wrapper to select from while using the .threads wrappers so this another reason to just use the .threads wrappers and drop IIP's.<br /><br />I'll redo IIP and upload it tonight I guess. It will be one less thing... lol
_________________________
~Dave
ChattersOnline.com

Top
#232568 - 01/11/03 12:33 PM Re: Da Table Wrappers Mod [Re: sjsaunders]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
LOL much easier when you make things easier on yourself. <img src="/forum/images/graemlins/wink.gif" alt="" /><br />I guess that will make things alot easier in future versions of IIP.<br /><br />I guess that means I can dump the one I modified.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#232569 - 01/11/03 12:36 PM Re: Da Table Wrappers Mod [Re: sf49rminer]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
LoL well don't dump it to soon. I'm working on getting IIP to use the .threads wrappers right now. I should have it up by dinner. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232570 - 01/11/03 12:48 PM Re: Da Table Wrappers Mod [Re: sjsaunders]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Very <img src="/forum/images/graemlins/cool.gif" alt="" /> !<br /><br />I'm moving on to integrating a spall chacker <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232571 - 01/11/03 12:52 PM Re: Da Table Wrappers Mod [Re: jacksonm99]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Hmm an integrated spell checker. Are you using LK's spell mod from UBB as a template?
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#232572 - 01/11/03 01:11 PM Re: Da Table Wrappers Mod [Re: sf49rminer]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Probably looking into using pspell in php?
_________________________
~Dave
ChattersOnline.com

Top
#232573 - 01/11/03 01:16 PM Re: Da Table Wrappers Mod [Re: sf49rminer]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Related post?:<br /><br />http://www.threadsdev.com/threads/php/sh...64487#Post64354 <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232574 - 01/11/03 02:20 PM Re: Da Table Wrappers Mod [Re: sjsaunders]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
[]Probably looking into using pspell in php? [/] <br /> <br />Yup, that's one possibility. I have too many die hard Linux fans on my site who do not own a copy of MicroSoft's dictionary (the one that Word uses). So I have to find a solution that's not software / platform dependant...
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232575 - 01/11/03 11:59 PM Re: Da Table Wrappers Mod [Re: jacksonm99]
sportbikes Offline
Member

Registered: 10/29/02
Posts: 167
Loc: So Cal USA
DaLANTech,<br /><br />I was waiting for this, but how does this work in comparison to Just Dave's CSS specific Table Wrappers?<br /><br />I see that your is more of a finished product, but am I correct in that once we convert to yours... there is no plain version (like what I may have now)? <br /><br />Do I understand these correctly in stating that using the css specific table wrappers I can have both standard and graphic wrapper options available to members?<br /><br />Just looking forward before I make changes... and not versed enough to intrepret the differences.<br /><br />Thanks!
_________________________
mike
www.esportbike.com

Top
#232576 - 01/12/03 09:31 AM Re: Da Table Wrappers Mod [Re: alsalmicom]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
OK, I had to read JustDave's post cause I wasn't sure what you were asking. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />You could do JustDave's mod, and then use my template set. Or you could just apply my set as is.<br /><br />One of the problems with adding graphics to the tbopen and tbclose templates is that the spacing that you use (defined by a clear gif file) is going to change for each different graphic set (unless we all agree on some sort of standard size). So in order to use someone elses graphic style you might have to change your tbopen and tbclose templates, which means that you might not be able to use mine. JustDave's mod avoids the problem by allowing you to assign different tbopen and tbclose templates per style sheet (but you are still going to be limitted to one graphic style per CSS). If you use his mod then just change the names of your tbopen and tbclose templates according to his instructions.<br /><br />Hopefully we'll see some options in the theme section of the admin panel to set the values for the graphic sizes in a future version of Threads.
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232577 - 01/12/03 09:38 AM Re: Da Table Wrappers Mod [Re: jacksonm99]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
I was thinking of adding additional check boxes to the stylesheet list in the theme editor so that we can specify what stylesheets get specific wrappers. All else would use the default.<br /><br />The problem with having adjustable image sizes is that even the layout of the wrappers themselves may differ. Someone may want a 5 column by 3 row table wrapper as apposed to the 3 by 3 one we are using.<br /><br />I think making the wrappers stylesheet specific is the best route. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />
_________________________
~Dave
ChattersOnline.com

Top
#232578 - 01/12/03 11:35 AM Re: Da Table Wrappers Mod [Re: sjsaunders]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
I agree, especialy for sites that want to run more than one style of table wrapper.
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232579 - 01/12/03 12:31 PM Re: Da Table Wrappers Mod [Re: jacksonm99]
Liahona_dup1 Offline
Member

Registered: 12/05/02
Posts: 177
Loc: Scotland
Hi all<br /><br />I have the table wrappers working great in IE (Thanks to Chuck) but I thought I would test it in NS 4.7, not that it bothers me as I use IE but someone just may be useing it, and I know it is an old version but Yahoo search engine wont allow you to put you business site on their search list unless it works perfect in NS 4.7, no big deal but this is what happens.........<br /><br />Loads with some of the side graphics missing from boxes and if you scroll the page slow they appear and scroll fast the disappear agian.<br /><br />Just wanted to know if anyone else has seen this, it's not hurting any one though.<br /><br />Another great hack by all you lot.<br /><br />Thanks.<br /><br />PS. Just noticed the Panel Generator absolutely brill a must have... whoops the box that shows all the holders is to small. lol<br /><br /> []http://www.threadsdev.com/images/panels/10306-4976.png[/]
_________________________
Thanks

Liahona

Top
#232580 - 01/12/03 12:37 PM Re: Da Table Wrappers Mod [Re: jfrosch]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
NS 4.7 is so bug ridden and non standards compliant that the people who coded it should be put up in front of a firing squad... <img src="/forum/images/graemlins/mad.gif" alt="" /><br /><br />What you are describing is a classic NS 4.7 error. I'll take a look at the script that controls that area, but I can't guarantee that I'll be able to fix it. NS 4.7 is probably the problem, and not my script.
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232581 - 01/12/03 12:42 PM Re: Da Table Wrappers Mod [Re: jacksonm99]
Liahona_dup1 Offline
Member

Registered: 12/05/02
Posts: 177
Loc: Scotland
Hi Dalantech<br /><br />No....don't waist your time just asking only<br /><br />Thanks
_________________________
Thanks

Liahona

Top
#232582 - 01/12/03 12:48 PM Re: Da Table Wrappers Mod [Re: jfrosch]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
No problem <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />NS 4.7 is just irritating because I really do try to script so that my site looks good in all browsers (even the Mozilla users like my site). But then 4.7 was released and I got hit with a lot of negative posts cause all of a sudden "my scripting sucked"...
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232583 - 01/12/03 01:04 PM Re: Da Table Wrappers Mod [Re: jacksonm99]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Netscape 4.7 doesn't *really* support CSS very well. It's very spotty. Since threads (and most sites) use CSS... I don't know how anyone can successfully use that browser anywhere without trouble.<br /><br />Threads is very very close to XHTML compliant. And all the new Stylesheets released with threads (and any that I've posted) validate with w3.org. So NS is the dinosaur. <img src="/forum/images/graemlins/laugh.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232584 - 01/12/03 01:23 PM Re: Da Table Wrappers Mod [Re: Daine]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1966
Loc: Sweden, Stockholm
There is a way to work around the bug in Netscape with disappearing background images. The trick is to have an extra table inside the table and set the background to "#". For some odd reason Netscape then shows the background image properly. Crude, but effective. =]
_________________________
/Gardener | Complete list of my mods

Top
#232585 - 01/12/03 01:29 PM Re: Da Table Wrappers Mod [Re: jfrosch]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
I have to agree with everyone else on this. Netscape 4.7x is out of date and quite useless where standards compliancy matters. Perhaps you should write to yahoo telling them they are falling behind the times if they think pages should render well in non standards compliant browsers. I wonder, does their online email offering work well in 4.7? I'll have to check. Would seem sort of hypocritical of them if it doesnt... lol<br /><br />I myself code nothing with 4.7 in mind. It's not worth the effort. Since most browsers are given away for free I see no reason why users don't upgrade. <br /><br /></2cents> <img src="/forum/images/graemlins/wink.gif" alt="" /><br /><br />
_________________________
~Dave
ChattersOnline.com

Top
#232586 - 01/12/03 01:35 PM Re: Da Table Wrappers Mod [Re: sjsaunders]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
I agree. Not much sense in running an old browser (unless the latest has more bugs <img src="/forum/images/graemlins/wink.gif" alt="" /> )
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232587 - 01/12/03 01:40 PM Re: Da Table Wrappers Mod [Re: jacksonm99]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
LoL I'd rather live with a new browser and new bugs than Netscape 4.anything LoL<br /><br />I think that Mozilla's Pheonix browser may be perfect for users of older machines that have system requirements that are not up to par with the bigger browsers.<br /><br />
_________________________
~Dave
ChattersOnline.com

Top
#232588 - 01/19/03 01:10 PM Re: Da Table Wrappers Mod [Re: sjsaunders]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Dalantech, <br /> <br /> I was playing a bit. I know what you mean about graphics files being huge. I was playing with adding graphics into the mod. Here is one I was playing with today. I went with the square corners as even with the graphic corners saved as transparency they where not transparent under my colored backgrounds. One a white background they are fine. <br /> <br /> Test Forum <br /> <br />I managed to keep every graphic except the top one to 41K. The top one ended up being 1705K with only that one little graphic. Now if I convert to jpg that can save that to 1300K <br />
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#232589 - 01/19/03 01:43 PM Re: Da Table Wrappers Mod [Re: sf49rminer]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Odd, cause I show that graphic as being 1.6 KB. Are you sure you didn't add a few zeros to the size that you listed for that top image <img src="/forum/images/graemlins/wink.gif" alt="" /> <br /> <br />The only problem I saw was that you cut your images at 1000 pixels. If someone views your forum at a greater resolution that 1024 x 768 then your background graphic will tile (an effect that may or may not look good). <br /> <br />I cut my graphics at 1560 pixels and my site looks good at 1600x1200. <br /> <br />Edit: I'd also make the background page color the same (or close to) the blue that you used for your wrapper. The dark blue on light blue is tough on the ol' peepers <img src="/forum/images/graemlins/smile.gif" alt="" />


Edited by Dalantech (01/19/03 01:47 PM)
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232590 - 01/19/03 02:44 PM Re: Da Table Wrappers Mod [Re: sf49rminer]
shortbus Offline
Code Monkey

Registered: 04/19/02
Posts: 631
Loc: Enid, Oklahoma
it seems that "the blues (large fonts)" and "the blues" have different color table wrappers. Was this intentional? Just curious since they are named the same.

Top
#232591 - 01/19/03 02:54 PM Re: Da Table Wrappers Mod [Re: wilstephens]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
They should be the same. I'll check. <br /> <br />Edit: Good catch! <img src="/forum/images/graemlins/smile.gif" alt="" /> I've updated all of the style sheet text files to fix a typo and update the blues. The zip file in the first post has been fixed.


Edited by Dalantech (01/19/03 03:06 PM)
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232592 - 01/19/03 03:07 PM Re: Da Table Wrappers Mod [Re: jacksonm99]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Yeah I meant 1600 bytes and 41 bytes<br /><br />What ya mean hard on the eyes. <img src="/forum/images/graemlins/wink.gif" alt="" /> Your graphic is blue against white LOL<br /><br />I will see about that top graphic resizing to 1560.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#232593 - 01/19/03 03:08 PM Re: Da Table Wrappers Mod [Re: sf49rminer]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
LOL! Look again, the background is grey with a binary pattern going through it <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232594 - 01/19/03 03:50 PM Re: Da Table Wrappers Mod [Re: jacksonm99]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Mr binary <img src="/forum/images/graemlins/wink.gif" alt="" /> <br /> <br /> Yes ya da grey man! <br /> <br /> I softened the blue a bit more so it matches the tdheader. Should be more fluid now. Graphics sizes are 36bytes and the top is 1770bytes. <br /> <br />Also I updated the templates to be XHTML compliant.


Attachments
65461-templates.zip (7 downloads)

_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#232595 - 01/19/03 11:03 PM Re: [6.2] Table Wrappers Mod [Re: jacksonm99]
Dslam Offline
Member

Registered: 06/05/01
Posts: 246
Loc: USA
hey just wanted to say thanks . I used your mod. changed the image colors but was a great help having it all documented<br />Thanks again <img src="/forum/images/graemlins/smile.gif" alt="" />

Top
#232596 - 01/19/03 11:53 PM Re: Da Table Wrappers Mod [Re: sf49rminer]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
What did you have to change to make them compliant? Did you add the "alt" parameter to the image tags?
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232597 - 01/19/03 11:54 PM Re: [6.2] Table Wrappers Mod [Re: interforos]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Thanks for taking the time to say thanks, and glad you like the hack <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232598 - 01/20/03 05:40 AM Re: Da Table Wrappers Mod [Re: jacksonm99]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
You hit it on the head buddy <br /> <br />Simple but yes that makes it XHTML compliant. Most people forget about the small stuff <img src="/forum/images/graemlins/wink.gif" alt="" /> All image tags need a closing tag which you had /> and they need the alt variable defined which was missing.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#232599 - 01/20/03 07:56 AM Re: Da Table Wrappers Mod [Re: sf49rminer]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
I updated the templates on my site right after my last post to you <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232600 - 01/20/03 11:57 AM Re: Da Table Wrappers Mod [Re: sf49rminer]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Thanks Chuck!<br /><br />I've updated the zip file in the first post <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232601 - 01/21/03 08:16 AM Re: [6.2] Table Wrappers Mod [Re: jacksonm99]
Beentheredonethat Offline
Member

Registered: 05/10/02
Posts: 160
Loc: Not here
Will this table wrappers work well with Integrated Index Page?<br /><br />Could I have the Integrated Index Page with the table wrappers and templates and stylesheets you use...<br /><br />I noticed your site is two columns and Integrated Index Page is three... does it matter?

Top
#232602 - 01/21/03 09:20 AM Re: [6.2] Table Wrappers Mod [Re: charts]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Yes the table wrappers work with IIP. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232603 - 01/21/03 10:36 AM Re: [6.2] Table Wrappers Mod [Re: charts]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
My index page is IIP, and I have it set to two columns in the IIP admin panel <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />If you download my table wrappers mod then you've got everything you need. Just follow the directions <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232604 - 01/21/03 12:14 PM Re: [6.2] Table Wrappers Mod [Re: jacksonm99]
Beentheredonethat Offline
Member

Registered: 05/10/02
Posts: 160
Loc: Not here
Thank you.<br />Now I start to understand a bit how this works...<br />I am starte to get addicted to threads :-)

Top
#232605 - 01/21/03 12:58 PM Re: [6.2] Table Wrappers Mod [Re: charts]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
[]<br />I am starte to get addicted to threads :-) [/]<br /><br />hehe... it's one addiction that's not a bad thing. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232606 - 01/21/03 01:54 PM Re: [6.2] Table Wrappers Mod [Re: sjsaunders]
dimopoulos Offline
Kahuna

Registered: 08/18/02
Posts: 1271
Loc: Vienna, Austria
Unless your other half is standing right behind you with something heavy and wispering "Either you get away from the computer or else...."<br /><br /><img src="/forum/images/graemlins/ooo.gif" alt="" /><br /><br /><img src="/forum/images/graemlins/laugh.gif" alt="" /> <img src="/forum/images/graemlins/laugh.gif" alt="" /> <img src="/forum/images/graemlins/laugh.gif" alt="" /> <img src="/forum/images/graemlins/laugh.gif" alt="" /> <img src="/forum/images/graemlins/laugh.gif" alt="" /><br /><br />Warm regards<br /><br />Nikos
_________________________
Nikos

Top
#232607 - 01/21/03 06:11 PM Re: [6.2] Table Wrappers Mod [Re: Hal_dup2]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Thanks but I got it. I called the library but had to add the statement <br /> <br />send them the page <img src="/forum/images/graemlins/wink.gif" alt="" /> Now it makes me want to code Photopost with the tbwrappers but thats another story. Working through the errors trying to use tbopen and tbclose within there is a headache.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#232608 - 01/22/03 12:43 AM Re: [6.2] Table Wrappers Mod [Re: sf49rminer]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
LOL! <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />Oh no, you're hooked now. It's just a matter of time before you post a table wrappers mod for Photo Post... <img src="/forum/images/graemlins/wink.gif" alt="" /><br /><br />The funny thing is that if you look at what Rick Baker has done with Threads the concept of placing script in a php file, and then html in a template that the php file includes, makes a lot of sense. If you want to add a new feature to the script, no problem. There isn't any html getting in the way when you are manipulating the php file. Want to change the way that the final html page looks to the client, no problem. Just edit the template, and the only time you'll have to mess with php script is if there is some sort of loop that's being used to recycle the html (the post lists being one example). Seperating the php script from the html actualy makes them both easier to edit.
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232609 - 01/22/03 05:06 AM Re: [6.2] Table Wrappers Mod [Re: jacksonm99]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
That will be the next step for Photopost in the next upcoming release. Rick was kinda behind the eight ball on that one actually every other forum software even Infopop's UBB was separated into PHP code and Templates. I am glad to see Threads went this way as it is much easier. <br /> <br />I have done MOST of the main Photopost Index. You can see it here. <br /> <br />http://www.reeftalk.com/ubbthreads/gallery/index.php <br /> <br />I am still working around one problem getting the wrapper around the recent images and if I choise to display others. <br /> <br />if ( $Globals['mostrecent'] == "yes" && $Globals['recentdefault'] == "no" ) { <br /> display_gallery("latest"); <br /> $output .= "<br />"; <br />} <br /> <br />I have tried placing the $tbopen $tbclose variables in multiple spots and it needs to be in the form <br /> <br /> $output .= "$tbopen"; as not to cause a parse error etc. <br /> <br />Now the problem being is that the top one shows up on those photo's however the closing one does not no matter what I do so thats why I say mostly have index done.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#232610 - 01/22/03 08:59 AM Re: [6.2] Table Wrappers Mod [Re: sf49rminer]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
I must say you are definately getting into things! (in a good way) <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />Looking forward to seeing the fruits of your efforts. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232611 - 01/22/03 02:46 PM Re: [6.2] Table Wrappers Mod [Re: sjsaunders]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Thanks <img src="/forum/images/graemlins/smile.gif" alt="" /> I am kinda getting into the template work just a bit. <br /> <br /> Working on Photopost though is a pain the backside. Alot harder than working with just plain templates. <br /> <br /> So far was able to get the one page done playing for an hour but still the one snag mentioned above which is killing me. When I resolve that I will move on with the other main two files showphoto and showgallery. Then the little files will be last. <br /> <br />Any ideas on this one? Below is the original code: <br /> <br />if ( $Globals['mostrecent'] == "yes" && $Globals['recentdefault'] == "no" ) { <br />display_gallery("latest"); <br />$output .= "<br />"; <br />} <br /> <br />Here is the code that will put the tbopen around but the tbclose will not show. <br /> <br />if ( $Globals['mostrecent'] == "yes" && $Globals['recentdefault'] == "no" ) { <br /> $output .= "$tbopen"; <br /> display_gallery("latest"); <br /> $output .= "$tbclose"; <br /> $output .= "<br />"; <br />} <br /> <br />I seem to be stumped as to my the opening table forms but the closing does not. <br />
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#232612 - 01/22/03 04:47 PM Re: [6.2] Table Wrappers Mod [Re: sf49rminer]
dimopoulos Offline
Kahuna

Registered: 08/18/02
Posts: 1271
Loc: Vienna, Austria
Chuck,<br /><br />How about:<br />if ( $Globals['mostrecent'] == "yes" && $Globals['recentdefault'] == "no" ) { <br />$output .= "$tbopen"; <br />$output .= "$<tr>"; <br />$output .= "$<tb>"; <br />display_gallery("latest"); <br />$output .= "$</tb>"; <br />$output .= "$</tr>"; <br />$output .= "$tbclose"; <br />$output .= "<br />"; <br />}<br /><br />Warm regards<br /><br />Nikos
_________________________
Nikos

Top
#232613 - 01/22/03 05:01 PM Re: [6.2] Table Wrappers Mod [Re: Hal_dup2]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
you mean td not tb i assume and you do not need $ in front of them. Thanks you got me on the right track. I felt like slapping myself. Basic HTML there. I was too busy looking at code that I forgot that unlike templates which already have the <tr><td> variables there than I needed to add them.<br /><br />Here is what the code is<br /><br />if ( $Globals['mostrecent'] == "yes" && $Globals['recentdefault'] == "no" ) { <br />$output .= "$tbopen"; <br />$output .= "<tr class=\"tdheader\">"; <br />$output .= "<td>"; <br />display_gallery("latest"); <br />$output .= "</td>"; <br />$output .= "</tr>"; <br />$output .= "$tbclose"; <br />$output .= "<br />"; <br />}
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#232614 - 01/22/03 07:55 PM Re: [6.2] Table Wrappers Mod [Re: sf49rminer]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
So Now Dalantech's mod goes even further into another program besides Threads.<br /><br /><img src="/forum/images/graemlins/wink.gif" alt="" /><br /><br />I was able to get all 4 main Photopost files which call the tables to use the wrappers.<br /><br />http://www.reeftalk.com/ubbthreads/gallery/index.php<br />
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#232615 - 01/22/03 08:44 PM Re: [6.2] Table Wrappers Mod [Re: sf49rminer]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Looks good Chuck.<br /><br />You are becoming quite active here as well in developing stuff. Good for you. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232616 - 01/22/03 09:01 PM Re: [6.2] Table Wrappers Mod [Re: Daine]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Thanks <br /><br /> I don't think I develop anything <img src="/forum/images/graemlins/smile.gif" alt="" /> I just try and help others when they ask.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#232617 - 01/22/03 10:33 PM Re: [6.2] Table Wrappers Mod [Re: sf49rminer]
shortbus Offline
Code Monkey

Registered: 04/19/02
Posts: 631
Loc: Enid, Oklahoma
You are good! I like it. I want it. I need it. <br /><br /><img src="/forum/images/graemlins/laugh.gif" alt="" />

Top
#232618 - 01/22/03 11:50 PM Re: [6.2] Table Wrappers Mod [Re: sf49rminer]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
That's what its about. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232619 - 01/22/03 11:51 PM Re: [6.2] Table Wrappers Mod [Re: wilstephens]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
[]You are good! I like it. I want it. I need it. <br /><br /><img src="/forum/images/graemlins/laugh.gif" alt="" /> [/]<br /><br />I think shortbus is going for a record. The most mods ever installed on his forums. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232620 - 01/22/03 11:59 PM Re: [6.2] Table Wrappers Mod [Re: sf49rminer]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
ROFLMAO!<br /><br />I told you... <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232621 - 01/23/03 12:08 AM Re: [6.2] Table Wrappers Mod [Re: Daine]
shortbus Offline
Code Monkey

Registered: 04/19/02
Posts: 631
Loc: Enid, Oklahoma
I can't help it man. Why have it, if it isn't going to be as good as it can be? <br /><br />One of these days, I'm going to hire all of you guys. I just have to be able to afford myself first. <img src="/forum/images/graemlins/cool.gif" alt="" />

Top
#232622 - 01/23/03 12:29 AM Re: [6.2] Table Wrappers Mod [Re: wilstephens]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Keep track of all the files that you change, and why you changed them.Then, when a new version of Threads comes out, you can use a program like Beyond Compare to quickly apply all of your mods to the new version.
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232623 - 01/23/03 01:49 AM Re: [6.2] Table Wrappers Mod [Re: sf49rminer]
dimopoulos Offline
Kahuna

Registered: 08/18/02
Posts: 1271
Loc: Vienna, Austria
Damn! It guess I was really tired when I posted that. Yes Chuck it was td and without the $. What copy and paste can do to you.<br /><br />Still I am happy that you managed to get an idea to sort it out. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />Warm regards<br /><br />Nikos
_________________________
Nikos

Top
#232624 - 01/23/03 05:09 AM Re: [6.2] Table Wrappers Mod [Re: Daine]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Shortbus, <br /> <br /> Well lets see. I could write up what I did and post it. However keep in mind you will also need to do Dalantech's Table Wrappers Mod and I suggest as well using Justdave's CSS wrappers mod. You also need to have a registered copy of Photopost. Most important you need to design graphics. I might be able to design something for you if needed. <br /> <br /> This would be my hack order: <br /> <br /> <br /> 1) Apply JustDave's CSSWrappers Mod <br /> <br />http://www.threadsdev.com/threads/php/sh...amp;amp;fpart=1 <br /> <br /> 2) Expand on Dave's work by Doing Dalantech's Table Wrappers Mod on Threads. <br /> <br />http://www.threadsdev.com/threads/php/sh...amp;amp;fpart=1 <br /> <br /> 3) Apply Dalantech's Header Mod ( so that it uses the table wrappers ) <br /> <br />http://www.threadsdev.com/threads/php/sh...amp;amp;fpart=1 <br /> <br /> 4) Then you can start Photopost modifications. It will take me a day or so to document it. This really belongs on the Photopost site more but anyway. Their are a number of things you need to do so this is an intensive hack. There are only 4 files to achieve that look. However the mod's in those 4 files are alot. XHTML compliance issues as well as modifications to doing away with Photopost's entire header/footer system and using Threads. <br /> <br /> You can see their is alot of hacking involved or many hacks to achieve the look. I want uniformity on my site so I tackled Photopost. No sense having every other page use the tablewrappers and not Photopost.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#232625 - 01/23/03 09:25 PM Re: [6.2] Table Wrappers Mod [Re: sf49rminer]
Dslam Offline
Member

Registered: 06/05/01
Posts: 246
Loc: USA
question .<br />with I define table with to 95% in edit theme then the table gets smaller but the table wrap stays wide ..<br />did I miss something or ?? <img src="/forum/images/graemlins/blush.gif" alt="" />

Top
#232626 - 01/23/03 10:05 PM Re: [6.2] Table Wrappers Mod [Re: interforos]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Easy fix. Your tbopen template should look like this <br /> <br /><? //UBBTREMARK <br />$tbopen = <<<UBBTPRINT <br /> <br /><table width="{$theme['tablewidth']}" align="center" border="0" cellspacing="0" cellpadding="0"> <br /><tr> <br /><td class="tlc"><img border="0" src="spacer.gif" width="10" height="10" alt="" /></td> <br /><td class="top"><img border="0" src="spacer.gif" width="10" height="10" alt="" /></td> <br /><td class="trc"><img border="0" src="spacer.gif" width="10" height="10" alt="" /></td> <br /></tr> <br /><tr> <br /><td class="left"><img border="0" src="spacer.gif" width="10" height="10" alt="" /></td> <br /><td width="100%"> <br /><table width="{$theme['tablewidth']}" align="center" cellpadding="1" cellspacing="1" class="tablesurround"> <br /><tr> <br /><td> <br /><table cellpadding="{$theme['cellpadding']}" cellspacing="{$theme['cellspacing']}" width="100%" class="tableborders"> <br /> <br />UBBTPRINT; <br />/* UBBTREMARK */ ?> <br /> <br />Just change it to this <br /> <br /><? //UBBTREMARK <br />$tbopen = <<<UBBTPRINT <br /> <br /><table width="{$theme['tablewidth']}" align="center" border="0" cellspacing="0" cellpadding="0"> <br /><tr> <br /><td class="tlc"><img border="0" src="spacer.gif" width="10" height="10" alt="" /></td> <br /><td class="top"><img border="0" src="spacer.gif" width="10" height="10" alt="" /></td> <br /><td class="trc"><img border="0" src="spacer.gif" width="10" height="10" alt="" /></td> <br /></tr> <br /><tr> <br /><td class="left"><img border="0" src="spacer.gif" width="10" height="10" alt="" /></td> <br /><td width="100%"> <br /><table width="100%" align="center" cellpadding="1" cellspacing="1" class="tablesurround"> <br /><tr> <br /><td> <br /><table cellpadding="{$theme['cellpadding']}" cellspacing="{$theme['cellspacing']}" width="100%" class="tableborders"> <br /> <br />UBBTPRINT; <br />/* UBBTREMARK */ ?> <br /> <br /> <br />The second to last table needs to be set to 100% and it will autosize just fine.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#232627 - 01/23/03 11:09 PM Re: [6.2] Table Wrappers Mod [Re: sf49rminer]
Dslam Offline
Member

Registered: 06/05/01
Posts: 246
Loc: USA
yup that did it .. Thanks you <img src="/forum/images/graemlins/smile.gif" alt="" />

Top
#232628 - 01/24/03 12:36 AM Re: [6.2] Table Wrappers Mod [Re: sf49rminer]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Good catrch Chuck! <img src="/forum/images/graemlins/cool.gif" alt="" /><br /><br />I'll update the original zip file later on today, and this bug will be fixed in the next release of the table wrappers mod <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232629 - 03/09/03 11:17 AM Re: [6.2] Table Wrappers Mod [Re: jacksonm99]
ChAoS_dup1 Offline
Code Monkey

Registered: 11/15/02
Posts: 576
Loc: Great Northwest
Finally worked up the muster to hjack my forums some more and I want to add table wrappers today.Just wanted to double check that this works with Threads 6.2.3. <br />Also Dalantech;<br /><br />Your signature link is not loading but the link to your forums is working. (I was trying to get a peek at the 5x3 array)
_________________________
ChAoS
Emerald Forest Gaming Servers
Official STFU Thread


Top
#232630 - 03/09/03 11:20 AM Re: [6.2] Table Wrappers Mod [Re: barbiro]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
That's odd, my index won't load but Da Forum is working <img src="/forum/images/graemlins/confused.gif" alt="" /><br /><br />The 5x3 array does work for 6.2.3 and should work for all future versions of Threads (I don't see $tbopen and $tbclose going away anytime soon).
_________________________
Da LAN Tech

Threads Dev Moderator

Top
Page 1 of 4 1 2 3 4 >



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks